//Parents.vue
<template>
  <div>
    <h3>父组件 {{ msg }}</h3>
    <hr />
    <Son :msg.sync="msg" :test.sync="test" />
  </div>
</template>

<script>
import Son from "./Son.vue";
export default {
  components: {
    Son,
  },
  data() {
    return {
      msg: "hello",
      test: "待定",
    };
  },
};
</script> 